package com.ruoyi.system.api.domain;

import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 运单代收款业务表(AAgencyFund)实体类
 *
 * @author chenziyao
 * @since 2022-04-20 20:58:12
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "代收款业务")
public class AAgencyFund extends BaseEntity {
    private static final long serialVersionUID = -19072757208014991L;
    /**
     * 代收款表主键id
     */
    @ApiModelProperty
    private Integer id;
    /**
     * 运单编号，a_waybill
     */
    @ApiModelProperty
    private String waybillId;
    /**
     * 代收款结算状态，0为未结算，1为已结算
     */
    @ApiModelProperty
    private Integer status;
    /**
     * 应收金额
     */
    @ApiModelProperty
    private String amountReceivable;
    /**
     * 当前金额
     */
    @ApiModelProperty
    private String currentAmount;
    /**
     * 逻辑删除，0表示未删除，1表示已删除
     */
    @ApiModelProperty
    private Integer deleted;
    /**
     * 备注信息
     */
    @ApiModelProperty
    private String remarks;
    /**
     * 创建人的id
     */
    @ApiModelProperty
    private Long createdBy;
    /**
     * 创建时间
     */
    @ApiModelProperty
    private Date createdTime;
    /**
     * 更新人的id
     */
    @ApiModelProperty
    private Long updatedBy;
    /**
     * 更新时间
     */
    @ApiModelProperty
    private Date updatedTime;
    /**
     * 代收款佣金率
     */
    @ApiModelProperty
    private BigDecimal commissionRate;
    /**
     * 返款业务类型
     */
    @ApiModelProperty
    private String refundType;
    /**
     * 合同id获取收获时间等
     */
    @ApiModelProperty
    private Integer contractId;
}

